package com.theaf.basemodule.common.condition;

import com.theaf.core.repo.base.Condition;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@ApiModel("菜单查询条件")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MenuCondition extends Condition {
    @ApiModelProperty("模块名称")
    private String moduleName;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("路径，包括模板和控制器")
    private String url;
    @ApiModelProperty("过滤id")
    private Long filterId;
    @ApiModelProperty("是否包括叶子菜单")
    private boolean includeMenu = true;
}
